SmashBalloon\Reviews\Common\Feed D

Total Complexity 186
Dependencies 10
Dependents 5
Total lines 687
Lines of code 495
Logical lines of code 284
Comment lines 20
Methods 39
Properties 11

Methods 39

Method Rating Maintainability Complexity Lines of code
filter_posts()
D
28
70 81
api_request()
B
42 16 47
hydrate_sources()
A
49 10 32
update_header_cache_from_source()
S
50 6 28
get_set_cache()
S
52 6 24
update_posts_cache()
S
52 6 24
update_header_cache()
S
54 6 20
get_post_set_page()
S
56 5 18
init()
S
59 5 13
cache_single_posts_from_set()
S
57 4 16
__construct()
S
55 3 19
maybe_encrypt_cached_posts()
S
65 4 8
sort_array_byrating_and_date()
S
64 4 9
posts_from_db()
S
59 3 14
is_last_page()
S
61 3 13
add_source_to_post_set()
S
61 3 12
provider_for_provider_id()
S
67 3 8
get_db_lang()
S
68 2 7
get_remote_header_data_old()
S
68 2 7
get_remote_header_data()
S
69 2 7
sort_array_byrating()
S
69 2 6
get_remote_posts()
S
71 2 6
sort_array_bydate()
S
69 2 6
hydrate_single_manual_review()
S
60 1 15
is_single_manual_review()
S
78 2 3
get_posts_for_moderation()
S
66 1 8
get_settings()
S
82 1 3
set_header_data()
S
81 1 3
add_error()
S
71 1 6
get_errors()
S
80 1 3
set_errors()
S
80 1 3
get_header_data()
S
82 1 3
get_feed_id()
S
82 1 3
get_feed_style()
S
82 1 3
set_posts()
S
81 1 3
update_cache()
S
72 1 5
get_posts()
S
82 1 3
should_check_media()
S
82 1 3
is_init_wpml()
S
82 1 3